package com.novax.ex.activity.open.model.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotNull;


/**
 * Description: 商品轮播图片配置
 *
 * @author Deucalion@novax.email
 * @date 2023/2/21 16:47
 */
@Schema(description = "商品轮播图片配置")
@Data
public class MallProductBannerRequest {
    /** id */
    @Schema(description = "id")
    private Long id;

    /**
    * 商品id
    */
    @NotNull
    @Schema(description = "商品id",required = true)
    private Long mallProductId;

    /**
    * 语言-本字段冗余防止后期需要加不同语言显示不同图片
    */
    @Schema(description = "语言-本字段冗余防止后期需要加不同语言显示不同图片")
    private String language;

    /**
    * 轮播图片
    */
    @NotNull
    @Schema(description = "轮播图片",required = true)
    private String img;

    /**
    * 排序
    */
    @Schema(description = "排序")
    private Integer sort;
}
